package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_recall_player_draw", autoSave = true,uploadCk = true,desc = "邀请有礼抽奖日志")
public class LogRecallPlayerDraw extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "userId", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "轮次")
    private int turn;
    @FieldTypeAnnotation(desc = "选择的大奖")
    private String chooseBigReward;
    @FieldTypeAnnotation(desc = "本轮已抽")
    private int drawThisTurn;
    @FieldTypeAnnotation(desc = "获得奖励")
    private String gotReward;
    @FieldTypeAnnotation(desc = "是否获得大奖")
    private boolean isBigReward;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTurn() {
        return turn;
    }

    public void setTurn(int turn) {
        this.turn = turn;
    }

    public String getChooseBigReward() {
        return chooseBigReward;
    }

    public void setChooseBigReward(String chooseBigReward) {
        this.chooseBigReward = chooseBigReward;
    }

    public int getDrawThisTurn() {
        return drawThisTurn;
    }

    public void setDrawThisTurn(int drawThisTurn) {
        this.drawThisTurn = drawThisTurn;
    }

    public String getGotReward() {
        return gotReward;
    }

    public void setGotReward(String gotReward) {
        this.gotReward = gotReward;
    }


    public boolean isBigReward() {
        return isBigReward;
    }

    public void setBigReward(boolean bigReward) {
        isBigReward = bigReward;
    }

    public LogRecallPlayerDraw(int activityId, long userId, int turn, String chooseBigReward, int drawThisTurn, String gotReward, Date time, boolean isBigReward) {
        this.activityId = activityId;
        this.userId = userId;
        this.turn = turn;
        this.chooseBigReward = chooseBigReward;
        this.drawThisTurn = drawThisTurn;
        this.gotReward = gotReward;
        this.isBigReward = isBigReward;
    }
}